package com.shop.service;

import com.shop.result.JsonResult;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface UserInfoService {
    JsonResult queryUserInfoByCondition(HttpServletRequest request, HttpServletResponse response)throws Exception;

    JsonResult addUserInfoByToken(HttpServletRequest request, HttpServletResponse response)throws Exception;

    JsonResult updateUserInfoByToken(HttpServletRequest request, HttpServletResponse response)throws Exception;

    JsonResult deleteUserInfoByToken(HttpServletRequest request, HttpServletResponse response)throws Exception;
}
